package com.stock.mapper;

import com.stock.pojo.entity.StockRtInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @description 针对表【stock_rt_info(个股详情信息表)】的数据库操作Mapper
*/
public interface StockRtInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockRtInfo record);

    int insertSelective(StockRtInfo record);

    StockRtInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockRtInfo record);

    int updateByPrimaryKey(StockRtInfo record);

    /**
     * 批量插入功能
     * @param stockRtInfoList
     */
    int insertBatch(@Param("list") List<StockRtInfo> stockRtInfoList);

}
